home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 1995 August / PC Plus Super CD (Issue 106) (PCP106) (August 1995).iso / qe6 / qdread.me < prev    next >
Encoding:
Text File  |  1994-08-09  |  18.4 KB  |  484 lines

  1.         Q+E Database Drivers
  2.         for INTERSOLV Q+E Version 6.0
  3.         August 1994
  4.  
  5. This READ.ME file contains information not included in the Q+E 
  6. Database Driver Reference. This file contains information about 
  7. the following topics:
  8.  
  9. New Features in the Q+E Drivers
  10.     Renamed Drivers
  11.     New Database Systems Supported
  12.     Database Systems No Longer Supported
  13. For Btrieve Users
  14. For dBASE Users
  15. For INGRES Users
  16. For NetWare SQL Users
  17. For Teradata Users
  18. For Oracle 7 Users
  19. For Paradox Users
  20. For SQL Server Users
  21.     Problems with Catalog Stored Procedures?
  22.     Use Statements
  23. For Sybase System 10 Users
  24.     Before Using the System 10 Driver
  25.     Required Execute Access to TEMPDB
  26.     Data Type Information
  27. For Text File Users
  28. For Users of Extend Products
  29. Aborting a Long-Running Query on a Flat File
  30. Loading INFORMIX and NetWare SQL DLLs Correctly
  31. Solving Connection Problems with QEDLLMGR
  32. Compatibility with Third-Party Drivers
  33.      Microsoft Access Driver
  34.      Microsoft Text Driver
  35.      Lotus Notes Driver
  36.      Microsoft SQLServer Driver
  37.      Microsoft Oracle Driver
  38.  
  39. A Windows Help version of this file is available in the file
  40. QDREADME.HLP.
  41.  
  42. For information supplemental to the INTERSOLV Q+E User's 
  43. Manual, see the file READ.ME or README.HLP.
  44.  
  45.  
  46.     New Features in the Q+E Drivers
  47.  
  48. The following list summarizes the new features of the drivers that 
  49. are distributed with Q+E version 6.0:
  50.  
  51. Renamed Drivers
  52. ---------------
  53. MDI.The DB2 driver is now called the MDI driver. You can access DB2 
  54. database systems through this driver. You cannot access Teradata 
  55. database systems.
  56.  
  57. HP ALLBASE/SQL and HP IMAGE/SQL. In Q+E revision 5.x, the SQLBase driver 
  58. supported HP ALLBASE/SQL and HP IMAGE/SQL. In this revision of Q+E, the 
  59. ALLBASE driver supports these database systems.
  60.  
  61. OS/2 Database Manager. The OS/2 Database Manager driver is now called the 
  62. DB2/2 driver.
  63.  
  64. New Database Systems Supported
  65. ------------------------------
  66. Clipper files. The dBASE driver now supports Clipper files.
  67.  
  68. DB2/6000 database and gateway. The DB2/2 driver (formerly called the OS/2 
  69. Database Manager driver) now supports DB2/6000 database systems and 
  70. SQL/400, MVS DB2, and SQL/DS through the DDCS/60000 gateway.
  71.  
  72. FoxPro and FoxBASE. The dBASE driver now supports FoxPro and FoxBASE files, 
  73. as well as FoxPro and FoxBASE-compatible locking.
  74.  
  75. INFORMIX 5. The new INFORMIX 5 driver provides multiple connections from a 
  76. single workstation and supports more than 64K of data. (You can access 
  77. INFORMIX 5 files with the INFORMIX 4 driver, but it does not provide these 
  78. features.)
  79.  
  80. INGRES 6.4/04. The new INGRES 6.4/04 driver supports INGRES 6.4/04. To use 
  81. this driver, double-click the ODBC icon in the Windows Control Panel. A 
  82. list of data sources appears. Click Add. The list of installed drivers 
  83. appears. Select Q+E INGRES 6.4/04. The section "For INGRES Users" lists 
  84. the system requirements and known issues.
  85.  
  86. Oracle 7. The new Oracle 7 driver supports Oracle 7 database systems.
  87.  
  88. Sybase System 10. The new Sybase System 10 driver supports the Sybase 
  89. System 10 database system.
  90.  
  91. Database Systems No Longer Supported
  92. ------------------------------------
  93. The Tandem NonStop SQL database system is no longer supported.
  94.  
  95.  
  96.         For Btrieve Users
  97.  
  98. There are two versions of WBTRCALL.DLL: networked and not networked. 
  99. INTERSOLV supplies the not networked version when you install the Btrieve 
  100. driver. If you want network access, you must get the networked version from 
  101. Novell.
  102.  
  103. If you are already using networked Btrieve, do not install the INTERSOLV 
  104. version of WBTRCALL.DLL, because it does not support network access. When 
  105. the Setup program asks whether you wish to overwrite WBTRCALL.DLL, answer 
  106. No.
  107.  
  108.  
  109.         For dBASE Users
  110.  
  111. - The dBASE driver supports FoxBase and FoxPro tables and indexes.
  112.  
  113. - The dBASE driver offers five different locking schemes: dBASE, Clipper, 
  114.   Fox, Q+E, and Q+EVirtual.
  115.  
  116. - The CREATE INDEX statement accepts dBASE-style index expressions as an 
  117.   alternative to the comma-separated list of column names.
  118.  
  119. - Concatenated indexes with numeric or date types no longer require the STR 
  120.   or DTOS function to be specified in the Where clause to use the index. 
  121.   For example, an index based on STR(col1,4)+STR(col2,4) previously required 
  122.   a Where clause that specifically used the STR function. So a Where clause 
  123.   like 
  124.   WHERE STR(col1,4) = '  45' and STR(col2,4) = '  68' 
  125.   should be replaced with 
  126.   WHERE col1 = 45 and col2 = 68
  127.  
  128. - File locking has changed. With previous versions of the dBASE driver that 
  129.   had file locking enabled, the file lock was placed when a table was 
  130.   opened and released when the table was closed. With this version of the 
  131.   dBASE driver, file locks are held for a shorter period. The file lock is 
  132.   obtained during the first modification to the table in a transaction and 
  133.   is held until the Commit. File locks do not prevent readers from 
  134.   accessing a table nor do they prevent new records from being inserted 
  135.   into the table.
  136.  
  137. - The Order By clause now takes advantage of indexes to achieve ordering. 
  138.   This optimization should boost performance.
  139.  
  140. - A subquery can now be specified in the Set clause of Update statements.
  141.  
  142. - Indexes that contain FOR expressions will be properly maintained.
  143.  
  144. - Indexes with FOR expressions are ignored during query optimization.
  145.  
  146.  
  147.         For INGRES Users
  148.  
  149. A driver for INGRES 6.4/04 is now available. System requirements are as 
  150. follows: 
  151.  
  152. - Installed and configured INGRES client software INGRES 6.4/04 (net.win/00) 
  153.   or later.
  154.  
  155. - Three INGRES patches, with these (or later) dates:
  156.   #2766: IIW3GCC.DLL, 11-09-93
  157.   #2894: FRONTCL.DLL, 12-03-93
  158.   #3054: IIW3CL.DLL, 02-17-94.
  159.  
  160. You can get these patches from your INGRES customer support representative. 
  161. INTERSOLV recommends that you monitor the INGRES Technical Support BBS, 
  162. at (501) 748-2442 9600bps/N81, for additional patches as they become 
  163. available. 
  164.  
  165.  
  166. The following known issues are related to this driver: 
  167.  
  168. - INGRES bugs #60353 and #60729. 
  169.   Both relate to improper termination of INGRES connections under error 
  170.   conditions. Both can cause GPFs in IIW3GCC.DLL and require exiting Windows 
  171.   before reconnecting. As a workaround, set II_GCC_UNLOAD to FALSE in 
  172.   AUTOEXEC.BAT and CONFIG.ING. However, if you still encounter this problem, 
  173.   run chkdsk or another disk repair utility as a precaution.
  174.  
  175. - Under some conditions, large numeric values are truncated to 0.0. This can 
  176.   be reproduced using only INGRES ISQL, and is under investigation by INGRES.
  177.  
  178. - Under some conditions, degenerate Where clauses (for example, Where 1 = 0) 
  179.   can cause unpredictable cursor behavior. This cannot be reproduced using 
  180.   INGRES ISQL but can be reproduced by a few lines of embedded SQL. INGRES 
  181.   has identified this problem and plans to correct it in the upcoming 
  182.   6.4/04 (srv/01) Program Update Release. Users of Q+E will need this 
  183.   Program Update Release.
  184.  
  185.  
  186.         For NetWare SQL Users
  187.  
  188. If you lock a record, Q+E may use a current of cursor operation to 
  189. modify or delete a row. The NetWare SQL driver simulates a current 
  190. of cursor operation. This simulation may generate a large Where clause 
  191. even though Q+E is using only one column as the key. NetWare SQL limits 
  192. the number of characters in a Where clause. The workaround is to disable 
  193. current of cursor operations when the user locks a record before 
  194. updating it. To do this, add the line
  195.  
  196. QeDontUseCOC=1
  197.  
  198. to the NetWareSQL section of the ODBC.INI file.
  199.  
  200.  
  201.         For Teradata Users
  202.  
  203. Contrary to the information in the Database Driver Reference, you cannot 
  204. use the MDI driver for Teradata access. You receive syntax errors when 
  205. the application makes catalog function calls.
  206.  
  207.  
  208.         For Oracle 7 Users
  209.  
  210. Oracle 7 users should be aware of possible memory leaks in the most recent 
  211. version of the Oracle 7 client API dynamic link library, ORA7WIN.DLL, which 
  212. is dated 11/29/93. If you are using this DLL, try to limit the number of 
  213. logons to Oracle 7. You can use QEDLLOAD.EXE to load ORA7WIN.DLL into memory. 
  214. Or, you can try using the older version of ORA7WIN.DLL, (which you can download 
  215. from our Bulletin Board system), but we cannot guarantee the functionality of 
  216. the older version.
  217.  
  218. We are working with Oracle to resolve this problem. When we have a solution, we 
  219. will post it on our BBS.
  220.  
  221.  
  222.         For PARADOX Users
  223.  
  224. The Order By clause now takes advantage of indexes to achieve ordering.  
  225. This optimization should boost performance.
  226.  
  227. A subquery can now be specified in the Set clause of Update statements.
  228.  
  229.  
  230.         For SQL Server Users
  231.  
  232. The following topics apply to users of Microsoft SQL Server and Sybase 
  233. SQL Server.
  234.  
  235. Problems with Catalog Stored Procedures?
  236. ----------------------------------------
  237. If you have problems with the catalog functions returning incorrect
  238. data, you may need to upgrade your catalog stored procedures. In
  239. particular, the SQL Server version 4.2 procedures do not provide
  240. enough information for many of our catalog functions to work
  241. properly. Make sure you have installed the latest version of the
  242. stored procedures, which are available from your database vendor.
  243. Refer to your SQL Server documentation for more information.
  244.  
  245. Use Statements
  246. --------------
  247. The SQL Server and Sybase drivers now let a user perform a Use statement 
  248. to change the current database. A Use statement affects every statement 
  249. associated with the current connection. Any future call to SQLExecute or 
  250. one of the catalog routines with Qualifier set to NULL or % is executed 
  251. on the new database. The exception to this rule is that some prepared 
  252. Select statements may have already been executed.
  253.  
  254. Users may also execute catalog functions using any valid database name 
  255. as the qualifier. This does not affect the user's current database or 
  256. any future executes.
  257.  
  258.  
  259.         For Sybase System 10 Users
  260.  
  261. Before Using the System 10 Driver
  262. ---------------------------------
  263. Before using the Sybase System 10 driver, you must first 
  264. contact Sybase's Customer Service and Support line. Call (800) 
  265. 879-2273 and request patch number EBF3284 for case number 
  266. 198481.
  267.  
  268. Required Execute Access to TEMPDB
  269. ---------------------------------
  270. To use Sybase System 10.0, users must have execute access to 
  271. TEMPDB. 
  272.  
  273. Data Type Information
  274. ---------------------
  275. The Sybase System 10.0 for Solaris installmaster script (on the server) 
  276. does not have the correct numeric and decimal data type information. 
  277. To get the correct data type information from the Sybase System 10 driver, 
  278. someone with the correct database permissions must execute the following 
  279. statements:
  280.  
  281. UPDATE sybsystemprocs.dbo.spt_datatype_info
  282.     SET data_precision = 38, numeric_scale = 38
  283.     WHERE type_name = 'decimal'
  284. UPDATE sybsystemprocs.dbo.spt_datatype_info
  285.     SET data_precision = 38, numeric_scale = 38
  286.     WHERE type_name = 'numeric'
  287. INSERT INTO sybsystemprocs.dbo.spt_datatype_info_ext values
  288.     (26, 'precision,scale')
  289. INSERT INTO sybsystemprocs.dbo.spt_datatype_info_ext values
  290.     (10, 'precision,scale')
  291.  
  292.  
  293.         For Text File Users
  294.  
  295. You cannot use single or double quotation marks as delimiters.
  296.  
  297.  
  298.         For Users of Extend Products
  299.  
  300. If you are using Extend for Improv, Extend for Excel, or Extend for QPW 
  301. and you have set ExecAsync=1, you can obtain the same functionality 
  302. by setting the YieldProc attribute to 3.
  303.  
  304.  
  305.         Aborting a Long-Running Query on a Flat File
  306.  
  307. INTERSOLV has included a nonstandard option to the flat-file drivers 
  308. that enables you to press the ESC key to abort a long-running query. 
  309. To use this option, create a separate data source for each application. 
  310. Open the ODBC.INI file, and, under the section for the data source 
  311. you created, add the line WorkArounds=32.
  312.  
  313.  
  314.  
  315.         Loading INFORMIX and NetWare SQL DLLs Correctly
  316.  
  317. The distribution diskette contains a utility called QEDLLOAD.EXE. If 
  318. you use the INFORMIX or NetWare SQL drivers, this utility tries to 
  319. load the following DLLs:
  320.     
  321. WXQLCALL.DLL, which is required for NetWare SQL
  322. LDLLSQLW.DLL, which is required for INFORMIX.
  323.  
  324. To function, these files must be loaded into low memory (the first 
  325. 640K). This can be a problem, because by the time you attempt to 
  326. load one of these DLLs, other files may occupy the available space 
  327. in low memory. When this happens, the DLL is loaded into available 
  328. high memory (above 1000K), where it does not function correctly, 
  329. preventing your application from connecting. To prevent this problem, 
  330. load these DLLs immediately when entering Windows, while lower memory 
  331. space may still be available. QEDLLOAD.EXE is provided to do this 
  332. for you.
  333.  
  334. To have QEDLLOAD properly load one of these DLLs, you must create 
  335. new items in the Startup program group in the Program Manager. If 
  336. you no longer have a Startup group, add one as follows:
  337.  
  338. 1 In the Program Manager, open the File menu and choose New. The New 
  339.   Program Object dialog box appears.
  340. 2 In this dialog box, select the New Program Group option, and click 
  341.   OK. The Program Group Properties dialog box appears.
  342. 3 Supply the information for this new group. In the Description box, 
  343.   type Startup as the name of the new group. In the Group File box, 
  344.   type STARTUP.GRP. Click OK.
  345.  
  346. To add QEDLLOAD to the Startup group, follow these steps:
  347.  
  348. 1 Select the Startup group.
  349. 2 In the Program Manager, open the File menu and choose New. The New 
  350.   Program Object dialog box appears.
  351. 3 In this dialog box, select the New Program Item option, and click 
  352.   OK. The Program Item Properties dialog box appears.
  353. 4 Supply the information for this new item. In the Description box, 
  354.   type QEDLLOAD. In the Command Line box, type the full path and file 
  355.   name for QEDLLOAD.EXE, then the name of the DLL that you want loaded 
  356.   (WXQLCALL.DLL for NetWare SQL, LDLLSQLW.DLL for INFORMIX). Click OK.
  357.  
  358. After you complete this procedure, QEDLLOAD attempts to load the 
  359. specified DLL into low memory every time you start Windows. 
  360.  
  361. If, after you complete this procedure, you attempt to connect to a data 
  362. source and you receive either of the following messages, retry with 
  363. fewer programs loaded in memory.
  364.  
  365. For NetWare SQL, the message is:
  366.  
  367. Insufficient DOS memory for Windows Requestor Interface
  368.  
  369. For INFORMIX, the message is:
  370.  
  371. There is not enough memory available
  372.  
  373. For INFORMIX, this may still not work, as the INET version 4.10 tries to 
  374. allocate a buffer in low memory. Even though the application may be able 
  375. to load the DLL in low memory, there may not be enough low memory 
  376. available to allocate the buffer required for TSR-based products 
  377. (INET 4.10).
  378.  
  379. Failure trying to allocate this buffer can result in odd behavior.
  380.  
  381.  
  382.         Solving Connection Problems with QEDLLMGR
  383.  
  384. INTERSOLV supplies a tool called QEDLLMGR, which is primarily for 
  385. INTERSOLV Technical Support use. QEDLLMGR is not a supported product 
  386. and is provided on an as-is, use-at-your-own-risk basis. This tool 
  387. lists the DLLs that are loaded in memory.
  388.  
  389. DLLs (dynamic link libraries) are the software components used by 
  390. the ODBC DriverManager to connect to your DBMS server from your 
  391. client workstation. The Q+E drivers are implemented as DLLs, and 
  392. they call other DLLs provided by your DBMS vendor for network access. 
  393. Unfortunately, the error messages generated by the Microsoft ODBC 
  394. Driver Manager do not identify which DLL is missing if it cannot 
  395. locate one or more of the required DLLs on your system.
  396.  
  397. QEDLLMGR is useful for determining which required DLL files are 
  398. missing when your application cannot connect to the specified 
  399. data source. Since the ODBC Driver Manager provides no indication 
  400. of the problem when it cannot load a DLL, simple problems such 
  401. as an inadequate DOS PATH specification can be hard to solve. When 
  402. QEDLLMGR cannot load a DLL, it reports which files it cannot find.
  403.  
  404. If your ODBC application cannot load a Q+E driver DLL:
  405.  
  406. 1 Double-click the QEDLLMGR icon. 
  407. 2 Enter the driver's fully qualified pathname (the DOS path/filename 
  408.   that appears after the "driver=" in the ODBC.INI entry for your data 
  409.   source) in the Load command from the File menu.
  410. 3 Click OK. 
  411.  
  412. QEDLLMGR then displays a message for each required DLL that it cannot 
  413. find. Consult your DBMS vendor's documentation, your network administrator, 
  414. or your database administrator to locate the missing DLLs. If QEDLLMGR 
  415. identifies a Q+E driver as the missing component, perform the following 
  416. steps:
  417.  
  418. 1 Check to make sure that you spelled the driver file name and path 
  419.   correctly.
  420. 2 Our drivers are installed in your Windows \SYSTEM directory unless 
  421.   you relocated them after the installation. If you did relocate them,
  422.   be sure that the directory you installed them in is on your DOS $PATH.
  423. 3 If you cannot locate the correct Q+E driver on your system, reinstall 
  424.   Q+E from the original source disks.
  425.  
  426.  
  427.         Compatibility with Third-Party Drivers
  428.  
  429. Microsoft Access Driver
  430. -----------------------
  431. To have the Query Builder display a list of the tables in an Access 
  432. database, add the following line to each Access data source defined in 
  433. the ODBC.INI file:
  434.  
  435. QeDatabaseIsA=2
  436.  
  437. Microsoft Text Driver
  438. ---------------------
  439. To use Q+E with the Microsoft ODBC Text driver, add the following line 
  440. to that driver's data source specification in the ODBC.INI file:
  441.  
  442. QeDataDictExtensions=1
  443.  
  444. Lotus Notes Driver
  445. ------------------
  446. To have the Query Builder recognize the "$" in column names, edit the 
  447. ODBC.INI file and add the following line to each Notes data source 
  448. defined in the ODBC.INI file:
  449.  
  450. QeColumnFirstChars="$"
  451. QeColumnMiddleChars="$"
  452.  
  453. The Notes driver does not support reading data in binary. However, Q+E 
  454. reads fields larger that 255 bytes in binary. Therefore, when a field is
  455. larger than 255 bytes, the following error message appears:
  456.  
  457. Driver not capable
  458.  
  459. To work around this, add the following line to each Notes data source 
  460. defined in the ODBC.INI file:
  461.  
  462. QeReadMemoChar=1
  463.  
  464. Microsoft SQLServer Driver
  465. --------------------------
  466. The Microsoft SQLServer driver places the owner name before the 
  467. qualifier and database name. This prevents Q+E from opening a given 
  468. table properly. To work around this, add the following line to each 
  469. SQLServer data source defined in the ODBC.INI file:
  470.  
  471. QeQualifierSyntax=2
  472.  
  473. Microsoft Oracle Driver
  474. -----------------------
  475. The Microsoft Oracle driver places the table qualifier at the end, which 
  476. prevents Q+E from opening the table. To ensure that tables are opened 
  477. properly, add the following line to each ORACLE data source defined in 
  478. the ODBC.INI file:
  479.  
  480. QeQualifierSyntax=1
  481.  
  482. End of QDREAD.ME file
  483.  
  484.